import ProxyInterface from '../proxy-interface';
import { FilePageModel } from '../model/file';

class FilePageProxy implements ProxyInterface<FilePageModel> {
  private filePage = new FilePageModel();

  constructor (responseDate) {
    let data = responseDate;
    Object.assign<FilePageModel, any>(this.filePage, data);
  }

  getModel (): FilePageModel {
    return this.filePage;
  }
}

export {
  FilePageProxy
};
